/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.playground.core.entity;

import java.util.List;

/**
 * This class represents an instance of a game. It should be represented in this
 * class all rules and mechanics of the game.
 * 
 * @author Tiago Peres
 */
public class Game{
    private GameTitle gameTitle;
    private List<LoggedPlayer> players;
    private Player winner;
    
    // getters and setters
    public List<LoggedPlayer> getPlayers() {
        return players;
    }

    public void setPlayers(List<LoggedPlayer> players) {
        this.players = players;
    }

    public Player getWinner() {
        return winner;
    }

    public void setWinner(Player winner) {
        this.winner = winner;
    }

    public GameTitle getGameTitle() {
        return gameTitle;
    }

    public void setGameTitle(GameTitle gameTitle) {
        this.gameTitle = gameTitle;
    }
}
